interface AllData {
    code: number
    message: string
    ok: number
}
export type SorN = number | string
// 一级内容
export interface C1_Value {
    createTime: string
    id: SorN
    name: string
    updateTime: string
    category1Id?: SorN
    category2Id?: SorN
}

export type C1_Arr = C1_Value[]

// 一级分类 二级 三级
export interface Get_C1_Data extends AllData {
    data: C1_Arr
}

export interface Table_Att_Value {
    attrId?: number
    id?: number
    valueName: string
    show?: boolean
}

export interface Cate_Data {
    attrName: string
    attrValueList: Table_Att_Value[]
    id?: number
    categoryId: SorN
    categoryLevel: number
}

export interface Cate_Table extends AllData {
    data: Cate_Data[]
}
